package com.ibeetl.cms.dao;

import com.ibeetl.cms.entity.BuyHouseSubsidies;
import com.ibeetl.cms.web.query.BuyHouseSubsidiesQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

/**
 * BuyHouseSubsidies Dao
 */
@SqlResource("cms.buyHouseSubsidies")
public interface BuyHouseSubsidiesDao extends BaseMapper<BuyHouseSubsidies>{
    public PageQuery<BuyHouseSubsidies> queryByCondition(PageQuery query);
    public void batchDelBuyHouseSubsidiesByIds( List<Long> ids);

    List<BuyHouseSubsidies> queryCompany(BuyHouseSubsidiesQuery condtion);
    PageQuery<BuyHouseSubsidies> queryEmployees(PageQuery page);
    int queryEmployeesCount(BuyHouseSubsidiesQuery page);

    PageQuery<BuyHouseSubsidies> findenterprise(PageQuery query);
    PageQuery queryDoneTask(PageQuery page);
}